﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;
using System.Data.Entity.ModelConfiguration.Conventions;
using Casco.Erz.Models;

namespace Casco.Erz.DAL
{
    /*LocalDB 测试数据*/
    public class Position_dbContext:DbContext
    {
        public DbSet<Position> Positions{get;set;}
        protected override void OnModelCreating(DbModelBuilder modelBuilder)
        {
            modelBuilder.Conventions.Remove<PluralizingTableNameConvention>();
        }
    }
}